/** 
 * redmicro all Copyright (c) 
 * Created by seeker910 on 2015/6/30.
 * @desc 产品选择器
 */
Rsd.define('Rsd.tool.ProductSelector', {
    extend: 'Rsd.form.Text',
    requires:[],
    xtype: 'product-selector',
    border:false,
    selector:{ 
      viewerType:'Rsd.zen.dialog.ListDialog',
      //modelType:'Rsd.UnionApp.Site.Models.Page',
      title:'产品选择',
      width:1200,
      valueMember:'PagePath',
      textMember:'PageText',
      gridColumns:[
            {text:'图片',width:120,fixed:true},
            {text:'标题', width:250,dataIndex:'Title'},
            {text:'价格', width:700,dtaIndex:'Price'},
        ]
    },
    /** 
    * 
    */
    constructor: function LinkSelector (config) {
        
        this.apply(config||{});
        console.log('document.getElementById(product_selector_service)');
    }
    
  
});
